package com.cnhis.cloudhealth.clinical.clidoctor.cliupdateadvice.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.cnhis.cloudhealth.clinical.clidoctor.clinicaldoctoradviceeditor.mapper.CliVao1;
import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import com.cnhis.cloudhealth.commons.dao.BaseDao;
import com.cnhis.cloudhealth.commons.utils.BaseVO;
import com.cnhis.cloudhealth.commons.utils.Page;
@Repository
public class CliUpdateAdviceDao extends BaseDao {
  
	public int getBlp02(Map map) throws Exception {
		return (int) queryForExtObject("CliNewAdvice.getBlp02", map);
	}

	public Integer getBlp04(Map map) throws Exception {
		return (Integer) queryForExtObject("CliNewAdvice.getBlp04", map);
	}

	public Integer getVaa10(Map map) throws Exception {
		return (Integer) queryForExtObject("CliNewAdvice.getVaa10", map);
	}

	public int getVcj04Vcj05(Map map) throws Exception {
		return  (Integer) queryForExtObject("CliNewAdvice.getVcj04Vcj05", map);
	}
	
	public List checkUpdateAdvice(Map map)throws Exception{
		return queryForList("CliUpdateAdvice.checkUpdateAdvice", map);
	}
	public List saveCASign(Map map)throws Exception{
		return queryForList("CliUpdateAdvice.saveCASign", map);
	}
	public List queryRequestExamine1(Map map)throws Exception{
		return queryForList("CliUpdateAdvice.queryRequestExamine1", map);
	}
	public List queryRequestExamine2(Map map)throws Exception{
		return queryForList("CliUpdateAdvice.queryRequestExamine2", map);
	}
    public Map getBCE02AndBCE03(Map map)throws Exception{
	  return (Map) queryForExtObject("CliUpdateAdvice.getBCE02AndBCE03", map);	
	}
    public List clinicAdviceDistillUpdate(Map map) throws Exception{
    	return queryForList("CliUpdateAdvice.clinicAdviceDistillUpdate", map);
    }
}
